package com.zhongzhi.common;

import java.util.HashMap;

import com.zhongzhi.springboot.pojo.Equipment;
import com.zhongzhi.springboot.pojo.Station;

import lombok.Data;
/**
 * 页面结构对象
 * @author Administrator
 * 这个对象是为了给javafx提供页面支持的对象
 *
 */
public class Primary {
	//画面数据//plcid,plc对象
	private static HashMap<Integer, Plc> map = new HashMap<Integer, Plc>();
	/**plc暂存信息集合*/
	private static HashMap<Integer,Equipment> temData =new HashMap<Integer, Equipment>();
	
	/**工位暂存信息集合*/
	private static HashMap<Integer,Station> stationMap = new HashMap<Integer,Station>();
	
	public static HashMap<Integer, Plc> getMap() {
		return map;
	}
	public static void setMap(HashMap<Integer, Plc> map) {
		Primary.map = map;
	}
	public static HashMap<Integer, Equipment> getTemData() {
		return temData;
	}
	public static void setTemData(HashMap<Integer, Equipment> temData) {
		Primary.temData = temData;
	}
	public static HashMap<Integer, Station> getStationMap() {
		return stationMap;
	}
	public static void setStationMap(HashMap<Integer, Station> stationMap) {
		Primary.stationMap = stationMap;
	}
}
